<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<!--

file:///Users/admin/Desktop/dev/12.30/latest-task-list/ES6/es6_module.html
http://localhost:63342/latest-task-list/ES6/es6_module.html?_ijt=r274rfk3m9rd2hvj270ouums0b
-->

<script type="module">
  // 输入 / 输出, I / O
  // export 指定输出
  // import 输入
  import {
    firstName as f,
    lastName as l,
    aihao,
    T
  } from './profile.js'
  // import {T} from './profile.js'
  // 导入的不可以修改
  // console.log(firstName + lastName)
  console.log(f + l)
  console.log(aihao())
  console.log(T())
</script>

</body>
</html>